package com.woniu.houtai.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class HomeController {

    @RequestMapping("toLogin")
    @ResponseBody
    public String toLogin(){
        return "login.html";
    }

        @RequestMapping("toRegister")
    @ResponseBody
    public String toRegister(){
        return "register.html";
    }
}
